package com.junxian.demo.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

/**
 * @author sunjx
 * @program giteeCode
 * @description 例子
 * @date 2020-08-31 19:00
 */
@Data
public class OsdExample extends BaseRowModel {
    /**
     * 磁盘ID
     */
    @ExcelProperty(index = 0)
    private String id;

    /**
     * 磁盘名称
     */
    @ExcelProperty(index = 1)
    private String name;

    /**
     * 磁盘的ip地址
     */
    @ExcelProperty(index = 2)
    private String ip;

    /**
     * 磁盘主机的端口
     */
    @ExcelProperty(index = 3)
    private Integer port;

    /**
     * 磁盘的挂载的路径
     */
    @ExcelProperty(index = 4)
    private String path;

    /**
     * 数据中心
     */
    @ExcelProperty(index = 5)
    private Integer dataCenter;

    /**
     * 磁盘类型（比如混合盘、HDD硬盘）
     */
    @ExcelProperty(index = 6)
    private String type;

    /**
     * 机架编号
     */
    @ExcelProperty(index = 7)
    private Integer rackNumber;

    /**
     * 容量（单位GB）
     */
    @ExcelProperty(index = 8)
    private Integer capacity;
}
